//package com.plian.system.wrapper.hr.management;
//
//import com.plian.system.dto.hr.management.ManagementAppointDTO;
//import com.plian.system.entity.hr.management.ManagementAppointment;
//import com.plian.system.mybatis.support.BaseWrapper;
//import com.plian.system.vo.hr.management.ManagementAppointmentVO;
//import com.plian.system.wrapper.util.CacheWrapperUtil;
//import com.plian.system.wrapper.util.WrapperUtil;
//import org.mapstruct.Mapper;
//import org.mapstruct.Mapping;
//import org.mapstruct.Mappings;
//
//import static com.plian.system.wrapper.util.WrapperConstant.*;
//
///**
// * @author panqb
// * @version 1.0
// * @description: 经理层聘用包装类
// * @date 2022/4/2 上午11:12
// */
//@Mapper(componentModel = SPRING, uses = {CacheWrapperUtil.class, WrapperUtil.class})
//public interface ManagementAppointWrapper extends BaseWrapper<ManagementAppointment, ManagementAppointDTO, ManagementAppointmentVO> {
//
//    @Override
//    @Mappings(value = {
//            @Mapping(source = "fillingUnitId", target = "fillingUnitName", qualifiedByName = ORG_ID_TO_NAME),
//            @Mapping(source = "fillingUnitId", target = "companyCode", qualifiedByName = ORG_ID_TO_CODE),
//            @Mapping(source = "createCompanyId", target = "createCompanyName", qualifiedByName = ORG_ID_TO_NAME),
//            @Mapping(source = "createUser", target = "createUserName", qualifiedByName = USER_ID_TO_NAME),
//            @Mapping(source = "updateUser", target = "updateUserName", qualifiedByName = USER_ID_TO_NAME),
//            @Mapping(source = "propertyId", target = "orgName", qualifiedByName = PROPERTY_ID_NAME),
//            @Mapping(source = "orgGradation", target = "orgGradationName", qualifiedByName = DICT_CODE_TO_NAME),
//    })
//    ManagementAppointmentVO entityToVO(ManagementAppointment managementAppointment);
//}
